import { data } from "../../uni_modules/uview-ui/libs/mixin/mixin.js"
import {
	request
} from "../api.js"

// 闪电送 - 门店列表
export const flashlist = (data) => {
	return request("flash/list", "GET", data)
}

// 闪电送 - 门店信息
export const flashdetail = (data) => {
	return request("flash/detail", "GET",data)
}

// 闪电送 - 商品分类
export const flashcategory = () => {
	return request("flash/category", "GET")
}

// 闪电送 - 下单预览
export const flashOrderPreview = (data) => {
	return request("flash/orderPreview", "POST", data)
}

// 闪电送 - 提交订单
export const flashcreateOrder = (data) => {
	return request("flash/createOrder", "POST", data)
}